3.329 \(\int \frac{1}{x (8 c-d x^3) (c+d x^3)^{3/2}} \, dx\)

Optimal. Leaf size=76 \[ \frac{2}{27 c^2 \sqrt{c+d x^3}}+\frac{\tanh ^{-1}\left (\frac{\sqrt{c+d x^3}}{3 \sqrt{c}}\right )}{324 c^{5/2}}-\frac{\tanh ^{-1}\left (\frac{\sqrt{c+d x^3}}{\sqrt{c}}\right )}{12 c^{5/2}} \]

[Out]

2/(27*c^2*Sqrt[c + d*x^3]) + ArcTanh[Sqrt[c + d*x^3]/(3*Sqrt[c])]/(324*c^(5/2)) - ArcTanh[Sqrt[c + d*x^3]/Sqrt
[c]]/(12*c^(5/2))

________________________________________________________________________________________

Rubi [A]  time = 0.0702243, antiderivative size = 76, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 6, integrand size = 27, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.222, Rules used = {446, 85, 156, 63, 208, 206} \[ \frac{2}{27 c^2 \sqrt{c+d x^3}}+\frac{\tanh ^{-1}\left (\frac{\sqrt{c+d x^3}}{3 \sqrt{c}}\right )}{324 c^{5/2}}-\frac{\tanh ^{-1}\left (\frac{\sqrt{c+d x^3}}{\sqrt{c}}\right )}{12 c^{5/2}} \]

Antiderivative was successfully verified.

[In]

Int[1/(x*(8*c - d*x^3)*(c + d*x^3)^(3/2)),x]

[Out]

2/(27*c^2*Sqrt[c + d*x^3]) + ArcTanh[Sqrt[c + d*x^3]/(3*Sqrt[c])]/(324*c^(5/2)) - ArcTanh[Sqrt[c + d*x^3]/Sqrt
[c]]/(12*c^(5/2))

Rule 446

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_.)*((c_) + (d_.)*(x_)^(n_))^(q_.), x_Symbol] :> Dist[1/n, Subst[Int
[x^(Simplify[(m + 1)/n] - 1)*(a + b*x)^p*(c + d*x)^q, x], x, x^n], x] /; FreeQ[{a, b, c, d, m, n, p, q}, x] &&
 NeQ[b*c - a*d, 0] && IntegerQ[Simplify[(m + 1)/n]]

Rule 85

Int[((e_.) + (f_.)*(x_))^(p_)/(((a_.) + (b_.)*(x_))*((c_.) + (d_.)*(x_))), x_Symbol] :> Simp[(f*(e + f*x)^(p +
 1))/((p + 1)*(b*e - a*f)*(d*e - c*f)), x] + Dist[1/((b*e - a*f)*(d*e - c*f)), Int[((b*d*e - b*c*f - a*d*f - b
*d*f*x)*(e + f*x)^(p + 1))/((a + b*x)*(c + d*x)), x], x] /; FreeQ[{a, b, c, d, e, f}, x] && LtQ[p, -1]

Rule 156

Int[(((e_.) + (f_.)*(x_))^(p_)*((g_.) + (h_.)*(x_)))/(((a_.) + (b_.)*(x_))*((c_.) + (d_.)*(x_))), x_Symbol] :>
 Dist[(b*g - a*h)/(b*c - a*d), Int[(e + f*x)^p/(a + b*x), x], x] - Dist[(d*g - c*h)/(b*c - a*d), Int[(e + f*x)
^p/(c + d*x), x], x] /; FreeQ[{a, b, c, d, e, f, g, h}, x]

Rule 63

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> With[{p = Denominator[m]}, Dist[p/b, Sub
st[Int[x^(p*(m + 1) - 1)*(c - (a*d)/b + (d*x^p)/b)^n, x], x, (a + b*x)^(1/p)], x]] /; FreeQ[{a, b, c, d}, x] &
& NeQ[b*c - a*d, 0] && LtQ[-1, m, 0] && LeQ[-1, n, 0] && LeQ[Denominator[n], Denominator[m]] && IntLinearQ[a,
b, c, d, m, n, x]

Rule 208

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[-(a/b), 2]*ArcTanh[x/Rt[-(a/b), 2]])/a, x] /; FreeQ[{a,
b}, x] && NegQ[a/b]

Rule 206

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1*ArcTanh[(Rt[-b, 2]*x)/Rt[a, 2]])/(Rt[a, 2]*Rt[-b, 2]), x]
 /; FreeQ[{a, b}, x] && NegQ[a/b] && (GtQ[a, 0] || LtQ[b, 0])

Rubi steps

\begin{align*} \int \frac{1}{x \left (8 c-d x^3\right ) \left (c+d x^3\right )^{3/2}} \, dx &=\frac{1}{3} \operatorname{Subst}\left (\int \frac{1}{x (8 c-d x) (c+d x)^{3/2}} \, dx,x,x^3\right )\\ &=\frac{2}{27 c^2 \sqrt{c+d x^3}}-\frac{\operatorname{Subst}\left (\int \frac{-9 c d+d^2 x}{x (8 c-d x) \sqrt{c+d x}} \, dx,x,x^3\right )}{27 c^2 d}\\ &=\frac{2}{27 c^2 \sqrt{c+d x^3}}+\frac{\operatorname{Subst}\left (\int \frac{1}{x \sqrt{c+d x}} \, dx,x,x^3\right )}{24 c^2}+\frac{d \operatorname{Subst}\left (\int \frac{1}{(8 c-d x) \sqrt{c+d x}} \, dx,x,x^3\right )}{216 c^2}\\ &=\frac{2}{27 c^2 \sqrt{c+d x^3}}+\frac{\operatorname{Subst}\left (\int \frac{1}{9 c-x^2} \, dx,x,\sqrt{c+d x^3}\right )}{108 c^2}+\frac{\operatorname{Subst}\left (\int \frac{1}{-\frac{c}{d}+\frac{x^2}{d}} \, dx,x,\sqrt{c+d x^3}\right )}{12 c^2 d}\\ &=\frac{2}{27 c^2 \sqrt{c+d x^3}}+\frac{\tanh ^{-1}\left (\frac{\sqrt{c+d x^3}}{3 \sqrt{c}}\right )}{324 c^{5/2}}-\frac{\tanh ^{-1}\left (\frac{\sqrt{c+d x^3}}{\sqrt{c}}\right )}{12 c^{5/2}}\\ \end{align*}

Mathematica [C]  time = 0.0206862, size = 63, normalized size = 0.83 \[ \frac{9 \, _2F_1\left (-\frac{1}{2},1;\frac{1}{2};\frac{d x^3}{c}+1\right )-\, _2F_1\left (-\frac{1}{2},1;\frac{1}{2};\frac{d x^3+c}{9 c}\right )}{108 c^2 \sqrt{c+d x^3}} \]

Antiderivative was successfully verified.

[In]

Integrate[1/(x*(8*c - d*x^3)*(c + d*x^3)^(3/2)),x]

[Out]

(-Hypergeometric2F1[-1/2, 1, 1/2, (c + d*x^3)/(9*c)] + 9*Hypergeometric2F1[-1/2, 1, 1/2, 1 + (d*x^3)/c])/(108*
c^2*Sqrt[c + d*x^3])

________________________________________________________________________________________

Maple [C]  time = 0.027, size = 485, normalized size = 6.4 \begin{align*} -{\frac{d}{8\,c} \left ({\frac{2}{27\,cd}{\frac{1}{\sqrt{ \left ({x}^{3}+{\frac{c}{d}} \right ) d}}}}+{\frac{{\frac{i}{243}}\sqrt{2}}{{d}^{3}{c}^{2}}\sum _{{\it \_alpha}={\it RootOf} \left ( d{{\it \_Z}}^{3}-8\,c \right ) }{\sqrt [3]{-{d}^{2}c}\sqrt{{{\frac{i}{2}}d \left ( 2\,x+{\frac{1}{d} \left ( -i\sqrt{3}\sqrt [3]{-{d}^{2}c}+\sqrt [3]{-{d}^{2}c} \right ) } \right ){\frac{1}{\sqrt [3]{-{d}^{2}c}}}}}\sqrt{{d \left ( x-{\frac{1}{d}\sqrt [3]{-{d}^{2}c}} \right ) \left ( -3\,\sqrt [3]{-{d}^{2}c}+i\sqrt{3}\sqrt [3]{-{d}^{2}c} \right ) ^{-1}}}\sqrt{{-{\frac{i}{2}}d \left ( 2\,x+{\frac{1}{d} \left ( i\sqrt{3}\sqrt [3]{-{d}^{2}c}+\sqrt [3]{-{d}^{2}c} \right ) } \right ){\frac{1}{\sqrt [3]{-{d}^{2}c}}}}} \left ( i\sqrt [3]{-{d}^{2}c}{\it \_alpha}\,\sqrt{3}d-i\sqrt{3} \left ( -{d}^{2}c \right ) ^{{\frac{2}{3}}}+2\,{{\it \_alpha}}^{2}{d}^{2}-\sqrt [3]{-{d}^{2}c}{\it \_alpha}\,d- \left ( -{d}^{2}c \right ) ^{{\frac{2}{3}}} \right ){\it EllipticPi} \left ({\frac{\sqrt{3}}{3}\sqrt{{i\sqrt{3}d \left ( x+{\frac{1}{2\,d}\sqrt [3]{-{d}^{2}c}}-{\frac{{\frac{i}{2}}\sqrt{3}}{d}\sqrt [3]{-{d}^{2}c}} \right ){\frac{1}{\sqrt [3]{-{d}^{2}c}}}}}},-{\frac{1}{18\,cd} \left ( 2\,i\sqrt [3]{-{d}^{2}c}\sqrt{3}{{\it \_alpha}}^{2}d-i \left ( -{d}^{2}c \right ) ^{{\frac{2}{3}}}\sqrt{3}{\it \_alpha}+i\sqrt{3}cd-3\, \left ( -{d}^{2}c \right ) ^{2/3}{\it \_alpha}-3\,cd \right ) },\sqrt{{\frac{i\sqrt{3}}{d}\sqrt [3]{-{d}^{2}c} \left ( -{\frac{3}{2\,d}\sqrt [3]{-{d}^{2}c}}+{\frac{{\frac{i}{2}}\sqrt{3}}{d}\sqrt [3]{-{d}^{2}c}} \right ) ^{-1}}} \right ){\frac{1}{\sqrt{d{x}^{3}+c}}}}} \right ) }+{\frac{1}{8\,c} \left ({\frac{2}{3\,c}{\frac{1}{\sqrt{ \left ({x}^{3}+{\frac{c}{d}} \right ) d}}}}-{\frac{2}{3}{\it Artanh} \left ({\sqrt{d{x}^{3}+c}{\frac{1}{\sqrt{c}}}} \right ){c}^{-{\frac{3}{2}}}} \right ) } \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/x/(-d*x^3+8*c)/(d*x^3+c)^(3/2),x)

[Out]

-1/8*d/c*(2/27/d/c/((x^3+1/d*c)*d)^(1/2)+1/243*I/d^3/c^2*2^(1/2)*sum((-d^2*c)^(1/3)*(1/2*I*d*(2*x+1/d*(-I*3^(1
/2)*(-d^2*c)^(1/3)+(-d^2*c)^(1/3)))/(-d^2*c)^(1/3))^(1/2)*(d*(x-1/d*(-d^2*c)^(1/3))/(-3*(-d^2*c)^(1/3)+I*3^(1/
2)*(-d^2*c)^(1/3)))^(1/2)*(-1/2*I*d*(2*x+1/d*(I*3^(1/2)*(-d^2*c)^(1/3)+(-d^2*c)^(1/3)))/(-d^2*c)^(1/3))^(1/2)/
(d*x^3+c)^(1/2)*(I*(-d^2*c)^(1/3)*_alpha*3^(1/2)*d-I*3^(1/2)*(-d^2*c)^(2/3)+2*_alpha^2*d^2-(-d^2*c)^(1/3)*_alp
ha*d-(-d^2*c)^(2/3))*EllipticPi(1/3*3^(1/2)*(I*(x+1/2/d*(-d^2*c)^(1/3)-1/2*I*3^(1/2)/d*(-d^2*c)^(1/3))*3^(1/2)
*d/(-d^2*c)^(1/3))^(1/2),-1/18/d*(2*I*(-d^2*c)^(1/3)*3^(1/2)*_alpha^2*d-I*(-d^2*c)^(2/3)*3^(1/2)*_alpha+I*3^(1
/2)*c*d-3*(-d^2*c)^(2/3)*_alpha-3*c*d)/c,(I*3^(1/2)/d*(-d^2*c)^(1/3)/(-3/2/d*(-d^2*c)^(1/3)+1/2*I*3^(1/2)/d*(-
d^2*c)^(1/3)))^(1/2)),_alpha=RootOf(_Z^3*d-8*c)))+1/8/c*(2/3/c/((x^3+1/d*c)*d)^(1/2)-2/3*arctanh((d*x^3+c)^(1/
2)/c^(1/2))/c^(3/2))

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} -\int \frac{1}{{\left (d x^{3} + c\right )}^{\frac{3}{2}}{\left (d x^{3} - 8 \, c\right )} x}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x/(-d*x^3+8*c)/(d*x^3+c)^(3/2),x, algorithm="maxima")

[Out]

-integrate(1/((d*x^3 + c)^(3/2)*(d*x^3 - 8*c)*x), x)

________________________________________________________________________________________

Fricas [A]  time = 1.53056, size = 517, normalized size = 6.8 \begin{align*} \left [\frac{{\left (d x^{3} + c\right )} \sqrt{c} \log \left (\frac{d x^{3} + 6 \, \sqrt{d x^{3} + c} \sqrt{c} + 10 \, c}{d x^{3} - 8 \, c}\right ) + 27 \,{\left (d x^{3} + c\right )} \sqrt{c} \log \left (\frac{d x^{3} - 2 \, \sqrt{d x^{3} + c} \sqrt{c} + 2 \, c}{x^{3}}\right ) + 48 \, \sqrt{d x^{3} + c} c}{648 \,{\left (c^{3} d x^{3} + c^{4}\right )}}, \frac{27 \,{\left (d x^{3} + c\right )} \sqrt{-c} \arctan \left (\frac{\sqrt{d x^{3} + c} \sqrt{-c}}{c}\right ) -{\left (d x^{3} + c\right )} \sqrt{-c} \arctan \left (\frac{\sqrt{d x^{3} + c} \sqrt{-c}}{3 \, c}\right ) + 24 \, \sqrt{d x^{3} + c} c}{324 \,{\left (c^{3} d x^{3} + c^{4}\right )}}\right ] \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x/(-d*x^3+8*c)/(d*x^3+c)^(3/2),x, algorithm="fricas")

[Out]

[1/648*((d*x^3 + c)*sqrt(c)*log((d*x^3 + 6*sqrt(d*x^3 + c)*sqrt(c) + 10*c)/(d*x^3 - 8*c)) + 27*(d*x^3 + c)*sqr
t(c)*log((d*x^3 - 2*sqrt(d*x^3 + c)*sqrt(c) + 2*c)/x^3) + 48*sqrt(d*x^3 + c)*c)/(c^3*d*x^3 + c^4), 1/324*(27*(
d*x^3 + c)*sqrt(-c)*arctan(sqrt(d*x^3 + c)*sqrt(-c)/c) - (d*x^3 + c)*sqrt(-c)*arctan(1/3*sqrt(d*x^3 + c)*sqrt(
-c)/c) + 24*sqrt(d*x^3 + c)*c)/(c^3*d*x^3 + c^4)]

________________________________________________________________________________________

Sympy [A]  time = 19.0613, size = 78, normalized size = 1.03 \begin{align*} \frac{2}{27 c^{2} \sqrt{c + d x^{3}}} - \frac{\operatorname{atan}{\left (\frac{\sqrt{c + d x^{3}}}{3 \sqrt{- c}} \right )}}{324 c^{2} \sqrt{- c}} + \frac{\operatorname{atan}{\left (\frac{\sqrt{c + d x^{3}}}{\sqrt{- c}} \right )}}{12 c^{2} \sqrt{- c}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x/(-d*x**3+8*c)/(d*x**3+c)**(3/2),x)

[Out]

2/(27*c**2*sqrt(c + d*x**3)) - atan(sqrt(c + d*x**3)/(3*sqrt(-c)))/(324*c**2*sqrt(-c)) + atan(sqrt(c + d*x**3)
/sqrt(-c))/(12*c**2*sqrt(-c))

________________________________________________________________________________________

Giac [A]  time = 1.10815, size = 92, normalized size = 1.21 \begin{align*} \frac{\arctan \left (\frac{\sqrt{d x^{3} + c}}{\sqrt{-c}}\right )}{12 \, \sqrt{-c} c^{2}} - \frac{\arctan \left (\frac{\sqrt{d x^{3} + c}}{3 \, \sqrt{-c}}\right )}{324 \, \sqrt{-c} c^{2}} + \frac{2}{27 \, \sqrt{d x^{3} + c} c^{2}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x/(-d*x^3+8*c)/(d*x^3+c)^(3/2),x, algorithm="giac")

[Out]

1/12*arctan(sqrt(d*x^3 + c)/sqrt(-c))/(sqrt(-c)*c^2) - 1/324*arctan(1/3*sqrt(d*x^3 + c)/sqrt(-c))/(sqrt(-c)*c^
2) + 2/27/(sqrt(d*x^3 + c)*c^2)